package com.dt.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dt.common.annotation.Excel;
import com.dt.common.core.domain.BaseEntity;

public class ModSignLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签收ID */
    private Long id;

    /** 收件编号 */
    @Excel(name = "收件编号")
    private String receiverNo;

    /** 批次号（P+年月日时分秒+三位随机数（批次号是指一次批量签收的案卷为一批次）） */
    @Excel(name = "批次号")
    private String batchNo;

    /** 签收记录来源 （0系统录入 1登记推送 2数据迁移） */
    @Excel(name = "签收记录来源")
    private String type;

    /** 产权权利人（逗号分隔，小于等于三个全部提供，超过三个随机提供三个） */
    @Excel(name = "产权权利人")
    private String ownershipName;

    /** 坐落：申请信息中的坐落 */
    @Excel(name = "坐落")
    private String location;

    /** 不动产权证号 */
    @Excel(name = "不动产权证号")
    private String ownershipNo;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessType;

    /** 所属案卷分类ID */
    @Excel(name = "所属案卷分类ID")
    private Long categoryId;

    /** 签收人名称 */
    @Excel(name = "签收人名称")
    private String receiverUserName;

    /** 签收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签收时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date receiverTime;

    @Excel(name = "创建者")
    private String createBy;

    @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Excel(name = "更新者")
    private String updateBy;

    @Excel(name = "更新时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 交付人名称 */
    @Excel(name = "交付人名称")
    private String transferName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setReceiverNo(String receiverNo) 
    {
        this.receiverNo = receiverNo;
    }

    public String getReceiverNo() 
    {
        return receiverNo;
    }
    public void setBatchNo(String batchNo) 
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo() 
    {
        return batchNo;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setOwnershipName(String ownershipName) 
    {
        this.ownershipName = ownershipName;
    }

    public String getOwnershipName() 
    {
        return ownershipName;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setOwnershipNo(String ownershipNo) 
    {
        this.ownershipNo = ownershipNo;
    }

    public String getOwnershipNo() 
    {
        return ownershipNo;
    }
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setReceiverUserName(String receiverUserName) 
    {
        this.receiverUserName = receiverUserName;
    }

    public String getReceiverUserName() 
    {
        return receiverUserName;
    }
    public void setReceiverTime(Date receiverTime) 
    {
        this.receiverTime = receiverTime;
    }

    public Date getReceiverTime() 
    {
        return receiverTime;
    }
    public void setTransferName(String transferName) 
    {
        this.transferName = transferName;
    }

    public String getTransferName() 
    {
        return transferName;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("receiverNo", getReceiverNo())
            .append("batchNo", getBatchNo())
            .append("type", getType())
            .append("ownershipName", getOwnershipName())
            .append("location", getLocation())
            .append("ownershipNo", getOwnershipNo())
            .append("businessType", getBusinessType())
            .append("categoryId", getCategoryId())
            .append("receiverUserName", getReceiverUserName())
            .append("receiverTime", getReceiverTime())
            .append("transferName", getTransferName())
            .toString();
    }
}
